package com.vast.common.constant;

public class MessageCode {
	/**
	 * 成功
	 */
	public static final int SUCCESS = 200;

	/**
	 * 失败
	 */
	public static final int ERROR = 101;

	/**
	 * 参数错误
	 */
	public static final int PARAM_ERROR = 201;

	/**
	 * token验证失败
	 */
	public static final int TOKEN_ERROR = 202;

	/**
	 * 用户不存在
	 */
	public static final int UNDEFINED_USER = 203;

	/**
	 * 获取不到位置信息
	 */
	public static final int UNKNOWN_LOCATION = 204;

	/**
	 * 文件上传失败
	 */
	public static final int UPLOAD_ERROR = 205;

	/**
	 * 用户名已存在
	 */
	public static final int EXIST_USER = 206;

	/**
	 * 用户名被禁用
	 */
	public static final int EXIST_ENABLE = 207;
	/**
	 * session过期 ,未授权,重新登录,
	 */
	public static final int SESSION_EXPIRE = 401;

	/**
	 * 系统异常
	 */
	public static final int SYSTEM_ERROR = 999;

}
